package com.example.shop.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * @author qwert
 * @version 1.0.0
 * @create 2025/9/2 20:35
 **/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class Cart {
    private String userId;
    private String goodsId;
    private String skuId;
    private String shopId;
    private Integer nums;

    /*
    预售中，发布中，已下架
     */
    private Boolean soldOutStatus;

    private LocalDateTime createTime;
    private LocalDateTime updateTime;
    private String operatorId;
    private boolean isDelete;
}
